package com.bw.classfiy.mvvm.model;

import com.bw.mvvm.entity.ClassFiyEntity;
import com.bw.mvvm.entity.ClassFiyTableEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {

    @POST("category/getCategory")
    Observable<ClassFiyTableEntity> requestOne(@Body RequestBody body);

    @POST("category/getCategory")
    Observable<ClassFiyEntity> requestclassfiy(@Body RequestBody body);

}
